//
//  YYConst.h
//  YYObjCDemo
//
//  Created by Daniel Bey on 2017年06月16日.
//  Copyright © 2017 百度鹰眼. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>


//get the  size of the Screen
#define SCREEN_HEIGHT [[UIScreen mainScreen]bounds].size.height
#define SCREEN_WIDTH [[UIScreen mainScreen]bounds].size.width
#define STATUS_BAR_HEIGHT [[UIApplication sharedApplication] statusBarFrame].size.height
#define CURRENT_IOS_VERSION [[[UIDevice currentDevice] systemVersion] floatValue]

//#define CURRENT_LOCALE [[NSLocale alloc] initWithLocaleIdentifier:@"zh_CN"]
#define CURRENT_LOCALE [NSLocale currentLocale]
#define APP_DELEGATE [[UIApplication sharedApplication] delegate]

#define USER_DEFAULTS [NSUserDefaults standardUserDefaults]

#define MAIN_BUNDLE [NSBundle mainBundle]

#define GLOBAL_QUEUE dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)
#define MAIN_QUEUE dispatch_get_main_queue()

#define ENTITY_NAME @"entity_name"
#define HISTORY_TRACK_START_TIME @"history_track_start_time"
#define HISTORY_TRACK_END_TIME @"history_track_end_time"
#define LATEST_LOCATION @"latest_location"




@interface YYConst : NSObject

FOUNDATION_EXPORT NSString * const AK;

FOUNDATION_EXPORT NSString * const MCODE;

FOUNDATION_EXPORT NSUInteger const serviceID;

FOUNDATION_EXPORT CGFloat const kTableViewCellPickerViewHeight;

FOUNDATION_EXPORT CGFloat const kTableViewCellAnimationShowDuration;

FOUNDATION_EXPORT CGFloat const kTableViewCellAnimationHideDuration;

FOUNDATION_EXPORT CGFloat const kHeightForHeaderInSection;

FOUNDATION_EXPORT NSString * const YYServiceOperationResultNotification;




@end
